go/parser.parser.mode (field)

10 uses

	go/parser (current package)
		parser.go#L37: 	mode   Mode // parsing mode
		parser.go#L74: 	p.mode = mode
		parser.go#L79: func (p *parser) allowGenerics() bool { return p.mode&typeparams.DisallowParsing == 0 }
		parser.go#L80: func (p *parser) allowTypeSets() bool { return p.mode&typeparams.DisallowTypeSets == 0 }
		parser.go#L237: 	if p.mode&AllErrors == 0 {
		parser.go#L2858: 	if ident.Name == "_" && p.mode&DeclarationErrors != 0 {
		parser.go#L2870: 	if p.mode&PackageClauseOnly == 0 {
		parser.go#L2876: 		if p.mode&ImportsOnly == 0 {
		parser.go#L2893: 	if p.mode&DeclarationErrors != 0 {
		parser.go#L2896: 	if p.mode&SkipObjectResolution == 0 {